package com.lk.server;

import com.lk.server.rpc.NettyService;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * netty 服务端
 * @author kun.li
 */
@SpringBootApplication
public class SpNettyServerMain {
    public static void main(String[] args) {
        SpringApplication.run(SpNettyServerMain.class,args);
        // 启动netty 服务端
        NettyService nettyService = new NettyService();
        nettyService.setPort(8585);
        nettyService.start();
    }
}
